import http from '../http/index'

const gbktoutf8 = async (str) => {
  console.log(str)
  const res = await http.corsApi('/', 'post', {
    packID: '123456',
    packageType: 'base64ToUTF8',
    packageContent: {
      base64: str
    }
  }) 

  console.log(res)

  return res.packageContent.packageMsg
}



export { gbktoutf8 }
